package com.zsrt.java.day20161226.cg.demo03.method11;
/**
 * 打印一个h行的乘法表
 */

import java.util.Scanner;

public class DoWhileTable99 {
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		System.out.println("输入一个数");
		int h = sc.nextInt();
		sc.close();
		doWhileTable99(h);
		
	}
	public  static void doWhileTable99(int h){
		int outer = 1;
		do{
			int inner = 1;
			do{
				System.out.print(outer + "*" + inner + "=" + outer*inner + "\t");
				inner++;
			}while(inner <= outer);
			outer++;
			System.out.println();
		}while(outer <= h);
		
	}

}
